package com.lanou.zhihu.service;

import com.lanou.zhihu.entity.Question;

import java.util.List;
import java.util.Map;

/**
 * Created by QuChao on 2018/10/25.
 */
public interface QuestionService {
    Map<String, Object> add(Question question);

    List<Question> findAll();

    Question findById(Integer id);

    List<Question> findByTid(Integer tid);
}
